//
//  ReleaseView.h
//  ECBBusinessCamp
//
//  Created by rimi on 16/6/21.
//  Copyright © 2016年 邓毕华. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    STUDENTSENJOYABLE,
    COMMUNITYINTERACTION
} ReleaseViewType;
typedef void(^SelectBlock)(NSInteger selectBlock);

@interface ReleaseView : UIView

@property (nonatomic, copy) SelectBlock selectBlock; // 点击按钮回调
@property (nonatomic, strong) UITextField * titleTextField; // 主题
@property (nonatomic, strong) UITextField * startDateTextField; // 起始日期
@property (nonatomic, strong) UITextField * stopDateTextField; // 截止日期
@property (nonatomic, strong) UIImageView * imageView; // 图片
@property (nonatomic, strong) UITextView * contentTextView; // 内容
@property (nonatomic, strong) UIButton * button1;
@property (nonatomic, strong) UIButton * button2;
@property (nonatomic, strong) UIButton * button3;
@property (nonatomic, strong) UIButton * button4;

- (instancetype)initWithType:(ReleaseViewType)releaseType SelectIndex:(SelectBlock)selectIndex;

@end
